﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x02000080 RID: 128
	internal class UInt8Byte : IByteDecoder
	{
		// Token: 0x0600023D RID: 573 RVA: 0x0000B270 File Offset: 0x00009670
		private UInt8Byte()
		{
		}

		// Token: 0x0600023E RID: 574 RVA: 0x0000B278 File Offset: 0x00009678
		public byte Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 2;
			return bytes[offset + 1];
		}

		// Token: 0x040000A8 RID: 168
		internal static readonly IByteDecoder Instance = new UInt8Byte();
	}
}
